package com.brunobas.pontosmart.database.helper;

import com.brunobas.pontosmart.database.DataBaseUtil;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteDatabase.CursorFactory;
import android.database.sqlite.SQLiteOpenHelper;

abstract class AbstractSQLiteOpenHelper extends SQLiteOpenHelper {
	
	protected static final int VERSION = 1;
	
	protected static final String TAG = "BancoSQLiteDB";
	
	protected static final String NOME_BANCO;
	
	protected SQLiteDatabase dataBase;
	
	protected Context context;
	
	static {
		
		NOME_BANCO = DataBaseUtil.NOME_BANCO_PONTO_SMART;
	}
	
	protected AbstractSQLiteOpenHelper(Context context) {
		super(context, NOME_BANCO, null, VERSION);
	}
	
	protected AbstractSQLiteOpenHelper(Context context, String name, CursorFactory factory, int version) {
		super(context, name, null, version);
	}
	
}
